import request from '@/axios';
export const getList = () => {
  return request({
    url: '/blade-specializeddiseasedb/specializedDiseaseDb/listOfUser',
    method: 'get',
  });
};
export const add = row => {
  return request({
    url: '/blade-specializeddiseasedb/specializedDiseaseDb/submit',
    method: 'post',
    data: row,
  });
};
export const remove = (ids) => {
  return request({
    url: '/blade-specializeddiseasedb/specializedDiseaseDb/remove',
    method: 'post',
    params: {
      ids,
    }
  })
}
export const update = (row) => {
  return request({
    url: '/blade-specializeddiseasedb/specializedDiseaseDb/submit',
    method: 'post',
    data: row
  })
}